PidFile=/var/run/zabbix/zabbix_agent2.pid
LogFile=/var/log/zabbix/zabbix_agent2.log
LogFileSize=0
Server={{ zabbix_server.ip }}
ServerActive={{ zabbix_server.ip }}
Hostname={{ ansible_nodename }}
Include=/etc/zabbix/zabbix_agent2.d/*.conf
PluginSocket=/run/zabbix/agent.plugin.sock
ControlSocket=/run/zabbix/agent.sock
AllowKey=system.run[*]
Include=/etc/zabbix/zabbix_agent2.d/plugins.d/*.conf